package com.everflourish.yeah100.entity.statistics;

import com.everflourish.yeah100.entity.BaseEntity;

/**
 * 班级的简单信息实体类
 * 
 * @author pf
 * @date 2015-3-16
 */
public class ClassSimple extends BaseEntity {
	private static final long serialVersionUID = 1L;
	private String name;
	private String className;
	public ClassSimple(String name) {
		this.name = name;
	}

	public String getName() {
		if(name == null){
			return className;
		}
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
